import { Next } from 'koa';
import { KoaContext } from '@/types/koa';

export default async (ctx: KoaContext, next: Next) => {
  // ? 添加缓存对象
  ctx.cache = {};

  await next();
};
